package com.csiec.clock.bean.face;

public class FaceInfo {
    private boolean isFace;
    private String message = "点击验证人脸";

    public static FaceInfo faceInfo;

    public static FaceInfo getFaceInfo() {
        if (faceInfo == null) {
            faceInfo = new FaceInfo();
        }
        return faceInfo;
    }

    public boolean isFace() {
        return isFace;
    }

    public void setFace(boolean face) {
        isFace = face;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "FaceInfo{" +
                "isFace=" + isFace +
                ", message='" + message + '\'' +
                '}';
    }
}
